package com.usermanage.beanParam;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.*;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

@Entity
@Table(name = "u_user_center")
@Data
public class UserCenterBean {
	@Id
	@Column(name = "user_id",columnDefinition = "int(50) comment '用户手机'",nullable = false)
	private Integer user_id;//用户手机

	@Column(name = "user_ding_id",columnDefinition = "varchar(200) comment '钉钉ID'",nullable = false)
	private String user_ding_id;//钉钉ID

	@Column(name = "user_wx_id",columnDefinition = "varchar(200) comment '微信ID'",nullable = false)
	private String user_wx_id;//微信ID

	@Column(name = "user_notify",columnDefinition = "tinyint(45) comment '部门名称'",nullable = false)
	private boolean user_notify;//用户名

	@Transient
	private String user_dept;

	@Transient
	private String user_name;

	@Transient
	private String user_phone;

	@Transient
	private String id;
}
